<?php
use herosphp\bean\Beans;
/**
 * payment模块Beans装配配置
 * @author yangjian<yangjian102621@gmail.com>
 */
$beans = array(
	//PaywayService configs
	'payment.payway.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'payment\service\PaywayService',
		'@params' => array('Payway')
	),

	//BankCodeService configs
	'payment.bank.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'payment\service\BankService',
		'@params' => array('Bank')
	),
	//BankCodeService configs
	'payment.bankCode.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'payment\service\BankCodeService',
		'@params' => array('BankCode')
	),

	//Payment service configs
	'payment.payment.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'payment\service\PaymentService'
	),

	//银行流水
	'payment.bankLog.service' => array(
		'@type' => Beans::BEAN_OBJECT,
		'@class' => 'payment\service\BankLogService',
		'@params' => array('BankLog')
	),
);
return $beans;
